package fr.ants.model.ai.heuristic;

/** 
 * <p>Interface for all heuristics methods, used to evaluate a distance between two points. Path finding relies on these methods.</p>
 *
 * @author Vianney DUPOY DE GUITARD
 */
public interface IHeuristic {

	/**
	 * <p>Returns heuristic distance between two points. Used in path finding.</p>
	 *
	 * @param x1 : x from start point.
	 * @param y1 : y from start point. 
	 * @param x2 : x from end point.
	 * @param y2 : y from end point.
	 *
	 * @return <p>the heuristic distance between the two points.</p>
	 */
	public double evaluate(int x1, int y1, int x2, int y2);
}